package com.example.demo.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BookInfo {

//`id` INT ( 11 ) NOT NULL AUTO_INCREMENT,
// `book_name` VARCHAR ( 127 ) NOT NULL,
// `author` VARCHAR ( 127 ) NOT NULL,
// `count` INT ( 11 ) NOT NULL,
// `price` DECIMAL (7,2 ) NOT NULL,
// `publish` VARCHAR ( 256 ) NOT NULL,
// `status` TINYINT ( 4 ) DEFAULT 1 COMMENT '0-⽆效, 1-正常, 2-不允许借阅',
//   `create_time` DATETIME DEFAULT now(),
// `update_time` DATETIME DEFAULT now() ON UPDATE now(),
    private Integer id;
    private String bookName;
    private String author;
    private Integer count;
    private BigDecimal price;
    private String publish;
    private Integer status;
    private Date createTime;
    private Date updateTime;
    private String statusCN;

}
